// pages/CreateRegister/CreateRegister.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    time: '0:0',
    index1:null,
    index2:null,
    picker1: ['全员', '管理员', '普通成员'],
    picker2: ['19网工三班', 't-dog', '足球队'],
  },

  PickerChange1(e) {
    this.setData({
      index1: e.detail.value
    })
  },
  PickerChange2(e) {
    this.setData({
      index2: e.detail.value
    })
  },
  TimeChange(e) {
    this.setData({
      time: e.detail.value
    })
  },
  CreateRegister(e){
    wx.showModal({
      title: '提示',
      content: '发布成功',
      success: (res) => {
        wx.navigateBack({
          delta: 1,
        })
      }
    })
  }
})